﻿using System;

namespace OigSync.Domain.Utility
{
    public class DateTimeHelper
    {
        public static DateTime MinDateTime = new DateTime(1900, 1, 1);

        public static DateTime GetLegalDatetime(DateTime dt)
        {
            return dt < MinDateTime ? MinDateTime : dt;
        }
    }
}